﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProgramarTurnos.aspx.cs" Inherits="WebPeajes.Paginas.ProgramarTurnos" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 199%;
        }
        .style2
        {
            width: 81px;
            height: 26px;
        }
        .style4
        {
            width: 154px;
            height: 26px;
        }
        .style7
        {
            width: 188px;
            height: 30px;
        }
        .style8
        {
            height: 30px;
        }
        .style9
        {
            width: 100px;
        }
        .style10
        {
            width: 1000px;
        }
        .style11
        {
            width: 54px;
        }
        .style12
        {
            height: 26px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <div><h2>Programar Turnos</h2> </div>
           <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <div>
    <table class="style1">
        <tr>
            <td class="style2">
                Fecha:</td>
            <td>
                <asp:TextBox ID="txtFecha" MaxLength="10" Width="65px" runat="server"
                    onkeypress="JavaScript: Tecla('Integer');" onblur="JavaScript: ValidarFecha(this);">
                </asp:TextBox>
                <asp:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="imbFecha1"
                        Format="dd/MM/yyyy" TargetControlID="txtFecha">
                </asp:CalendarExtender>
                <asp:ImageButton ID="imbFecha1" runat="server" Height="22px" ImageAlign="AbsBottom"
                 ImageUrl="~/imagenes/Calendar.bmp" Width="22px" />
            </td>
        </tr>
    </table>
    </div>

<div>
    <table class="style1">
        <tr>
            <td class="style2">
                Estación:</td>
            <td class="style4">
                <asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem>Ica</asp:ListItem>
                    <asp:ListItem>Lima</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style12">
            </td>
        </tr>
        <tr>
            <td class="style2">
                Cabina:</td>
            <td class="style4">
                <asp:DropDownList ID="DropDownList2" runat="server">
                    <asp:ListItem>Cabina 1</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style12">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Cobrador:</td>
            <td class="style4">
                <asp:DropDownList ID="DropDownList3" runat="server">
                    <asp:ListItem>Juan Torres</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style12">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Turno:</td>
            <td class="style4">
                <asp:DropDownList ID="DropDownList4" runat="server">
                    <asp:ListItem>Mañana</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style12">
                &nbsp;</td>
        </tr>
        </table>
</div>
 
<div>
   <table class="style1">
        <tr>
            <td class="style7">
            <table style="width: 376px">
                    <tr>
                        <td class="style10">
                            &nbsp;</td>
                        <td class="style9">
                <asp:Button ID="Button1" runat="server" Text="Agregar" />
                        </td>
                        <td class="style11">
                <asp:Button ID="Button2" runat="server" Height="26px" Text="Quitar" />
                        </td>
                    </tr>
                </table>
            </td>
            <td class="style8">
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GvTurnos" runat="server" AutoGenerateColumns="False" 
                    BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
                    CellPadding="3" Width="378px">
                    <Columns>
<asp:BoundField DataField="Estacion" HeaderText="Estación"></asp:BoundField>
                        <asp:BoundField DataField="Cabina" HeaderText="Cabina" />
                        <asp:BoundField DataField="Cobrador" HeaderText="Cobrador" />
                        <asp:BoundField DataField="Turno" HeaderText="Turno" />
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" />
                    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <RowStyle ForeColor="#000066" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                    <SortedAscendingHeaderStyle BackColor="#007DBB" />
                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                    <SortedDescendingHeaderStyle BackColor="#00547E" />
                </asp:GridView>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                                <table>
                        <tr>
                            <td>
                                <asp:Button ID="Button3" runat="server" Text="Guardar" Width="75px" />
                            </td>
                            <td>
                                &nbsp;</td>
                            <td>
                                <asp:Button ID="Button5" runat="server" Text="Cancelar" />
                            </td>
                        </tr>
                    </table>
                
                </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</div>
</asp:Content>
